package zk_project;

import java.rmi.RemoteException;

import com.tim.ying.zk.provider.ZKServiceProvider;
import com.tim.ying.zk.service.HelloService;
import com.tim.ying.zk.service.impl.HelloServiceImpl;

public class ZKService {
	public static void main(String[] args) throws RemoteException {
		ZKServiceProvider p = new ZKServiceProvider();
		HelloService service = new HelloServiceImpl();
		p.publish(service, "127.0.0.1", 1093);
	}
}
